package EX.forEach;

import java.util.Scanner;

public class text {
    public static void main(String[] args) {
        Scanner update = new Scanner(System.in);
        ex[] e = {
                new ex("avn", 125),
                new ex("sav",215),
                new ex("bqw",35),
                new ex(update.next(),update.nextInt())
            };

        for(ex es : e){
            System.out.format("%s的年龄是%d%n",es.name,es.age);
        }
    }
}
